﻿using System;

namespace winS.UnityEditor.UIElement
{
    /// <summary>
    /// 表示可撤销的<see cref="EditorElement"/>
    /// </summary>
    public interface IUndoable<T>
    {
        public void Redo(T newValue);
        public void Undo(T oldValue);

        event Action<T, T> onValueChange;
    }
}